import { Inject } from '@midwayjs/core';
import { CoolController, BaseController } from '@cool-midway/core';
import { ProductBrandEntity } from '../../entity/brand';
import { ProductBrandService } from '../../service/brand';

/**
 * 品牌信息
 */
@CoolController({
  api: ['add', 'delete', 'update', 'info', 'list', 'page'],
  entity: ProductBrandEntity,
  service: ProductBrandService,
})
export class AdminProductBrandController extends BaseController {
  @Inject()
  productBrandService: ProductBrandService;
}
